package top.zsyle.basic.query;

import lombok.Data;

@Data
public class BaseQuery<T> {
    private Integer currentPage = 1;

    //关键字
    private String keyword;
    private Integer pageSize = 5;

    public Integer getPageStart(){
        return (currentPage - 1)*pageSize;
    }

}
